From ac136290da18a4ff1ba975e28a6a1d093160ff19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Sat, 13 Dec 2025 09:39:54 +0100 Subject: [PATCH] luci-mod-network: update odhcpd configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Update two cfg parameters that have changed names/behaviour in recent versions of odhcpd. Signed-off-by: David Härdeman --- .../htdocs/luci-static/resources/view/network/dhcp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index 530d96cb0e..ed040fa7c1 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -616,11 +616,11 @@ return view.extend({ _('Lease trigger'), _('Path to a script to run each time the lease file changes.')); - o = s.taboption('general', form.Value, 'hostsfile', + o = s.taboption('general', form.Value, 'hostsdir', _('Hosts file'), - _('Path to store a hostsfile (IP address to hostname mapping) in. Used by e.g. dnsmasq.')); + _('Directory to store hosts files (IP address to hostname mapping) in. Used by e.g. dnsmasq.')); - o = s.taboption('general', form.Value, 'piofolder', + o = s.taboption('general', form.Value, 'piodir', _('PIO directory'), _('Directory to store IPv6 prefix information files in (to detect and announce stale prefixes).')); -- 2.30.2